package com.example.dao;

import com.example.entity.Leadlog;
import com.example.entity.Leads;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface LeadsMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Leads record);

    int insertSelective(Leads record);

    Leads selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Leads record);

    int updateByPrimaryKey(Leads record);
    List<Leads> selectAll(Map<String,Object> data);
    int count();

    int mycount(String username);

    List<Leads> selectMyAll(Map<String,Object> data);

    List<Leads> selectLeadDrop(Map<String,Object> data);
    int dropcount();
}